package com.lvmama.rhino.common.utils.serialization

import com.esotericsoftware.kryo.Kryo
import com.lvmama.rhino.common.entity.AIMachineReceipt
import org.apache.spark.serializer.KryoRegistrator

/**
  * Created by yuanxiaofeng on 2016/8/9.
  */
class AIStatRegistrator extends KryoRegistrator{
  override def registerClasses(kryo: Kryo): Unit = {
    kryo.register(classOf[AIMachineReceipt])
  }
}
